<template>
	<view class="big-box">
		<view class="Points-redemption" v-for="(item,index) in mainArr" :key="index" :style="item.backImg">
			<view class="Points-redemption-main">
				<view class="Points-redemption-main-left">
					<view class="Points-redemption-main-left-font">{{item.title}}</view>
					<view class="Points-redemption-main-left-font-1">
						<view class="Points-redemption-main-left-font-1-1">{{item.titlePower}}</view>
						<view class="Points-redemption-main-left-font-1-2">
							<image :src="item.icoImg" mode=""></image>
						</view>
					</view>
				</view>
				<view class="Points-redemption-main-right">
					<image :src="item.rightImg" mode=""></image>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		props: ["mainArr"],
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss">
	.big-box {

		width: 686rpx;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: center;

		.Points-redemption {
			width: 326rpx;
			height: 126rpx;
			background-repeat: no-repeat;
			background-size: cover;
			padding-left: 16rpx;
			padding-right: 16rpx;
			padding-top: 18rpx;
			padding-bottom: 14rpx;
			box-sizing: border-box;
			margin-bottom: 28rpx;
			border-radius: 12rpx;

			.Points-redemption-main {
				width: 100%;
				height: 100%;
				display: flex;
				justify-content: space-between;

				.Points-redemption-main-left {
					height: 100%;

					.Points-redemption-main-left-font {
						width: 112rpx;
						height: 40rpx;
						font-size: 28rpx;
						font-weight: bold;
						line-height: 40rpx;
						text-align: center;
						margin-bottom: 16rpx;
					}

					.Points-redemption-main-left-font-1 {
						height: 34rpx;
						font-size: 24rpx;
						font-weight: bold;
						display: flex;
						align-items: center;
						color: #666666;

						.Points-redemption-main-left-font-1-1 {
							min-width: 72rpx;
							font-size: 24rpx;
							font-weight: bold;
							text-align: center;
							line-height: 34rpx;
							color: #666666;
							margin-right: 8rpx;
						}

						.Points-redemption-main-left-font-1-2 {
							width: 28rpx;
							height: 28rpx;
							display: flex;
							justify-content: center;
							align-items: center;

							image {
								width: 100%;
								height: 100%;
							}
						}
					}
				}

				.Points-redemption-main-right {
					width: 96rpx;
					height: 96rpx;

					image {
						width: 100%;
						height: 100%;

					}
				}
			}
		}
	}
</style>